package com.gitee.sparta.core.cluster.netty.codec;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * <p>
 *      解决 tpc 数据流粘连的问题
 * </p>
 *
 * @author zyred
 * @since v 0.0.2
 */
public final class ProtocolFrameDecoder extends LengthFieldBasedFrameDecoder {
    public ProtocolFrameDecoder() {
        super(1024*1024,
                10,
                4,
                0,
                0);
    }
}
